package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.History;
import cn.wolfcode.crm.query.StagingQueryObject;

import java.util.List;

public interface HistoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(History record);

    History selectByPrimaryKey(Long id);

    List<History> selectAll();

    int updateByPrimaryKey(History record);

    int query4Count(StagingQueryObject qo);

    List<?> query4List(StagingQueryObject qo);

    History selectByNum(String sn);

    void updateSta(History history);
}